/* $RCSFile: GrantAccess.sql $
 Apache license v2 2011 by Christian Surieux
 Removing this comment is forbiddden
 $Source: ?/AddonNice/Setup/Scripts/GrantAccess.sql $
 $log$
 Revision 37 2010/08/09 12:26:56  christian.surieux
   Adding Log comment to sql files
*/
-- GrantAccess.sql Addon Nice Technologies, install Addon Nice
-- Grant access and add db_owner role to NETWORK SERVICE login installed by create DB

DECLARE @networkserv nvarchar(256)
SELECT @networkserv	=	SUSER_SNAME(0x010100000000000514000000)
EXEC adn_GrantAccess @networkserv,'db_owner'
GO
